<include file="Public/header" />
<body>
<script type="text/javascript">
	var inboundPlanEditUrl="{:U('Order/inboundPlanSave')}";//更新数据
	var getinboundPlanUrl="{:U('Order/get_inboundPlan')}";
	var inboundPlanExamineUrl="{:U('Order/examineinboundPlan')}";
	var getinboundPlanDetailUrl="{:U('Order/get_arrivalorder')}";//导出理货报告
	
	var tallyUrl="{:U('Order/tally_iframe')}";//理货报告
	var planUrl="{:U('Order/plan_iframe')}";//监盘计划
	var getArrivalOrderUrl="{:U('Order/get_arrivalorder')}";//详情列表
	
	var arrivalinboundUrl="{:U('Order/arrival_inbound_cross')}";//入库
	var getbooksgoodsUrl="{:U('Depot/get_booksInfoCate')}";//账册产品列表
	
	var adddgoods_url="{:U('Depot/adddgoods')}";//账册产品列表
	var order_id='';
	var pushOrderreceiveamountUrl="{:U('outboundreceiveamountReport')}";//推送接口
	var pushOrderUrl="{:U('outboundReport')}";//推送接口
	<!-- using('../../../default/js/inboundPlan.js'); -->
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/inboundPlan.js"></script>

	<table id="inboundPlanDatagrid" toolbar="#inboundPlan_tb"></table>
	<!-- 详情列表 -->
	<div id="inboundPlanlistDialog" class="easyui-dialog" title="生产波次单" style="width:500px;height:300px;"
        closed="true" buttons="#inboundPlanlistButtons"  modal="true">
		<table id="arrivalOrderDatagrid" toolbar="#arrivalOrder_tb"></table>
    </div>
    <div id="inboundPlanlistButtons">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="javascript:$('#inboundPlanlistDialog').dialog('close')" style="width:90px">确定</a>
    </div>
    <!-- /详情列表 -->
	<!-- 商品列表 -->
	<div id="indexgoodsAddDialog" class="easyui-dialog datagrid-pager-form" title="商品列表" style="width:800px;height:500px;"
        closed="true" buttons="#indexgoodsAddButtons"  modal="true">
		<table id="indexgoodsDatagrid" toolbar="#indexgoods_tb"></table>
		<!-- 商品列表搜索栏 -->
		<div id="indexgoods_tb">
			<form id="indexgoodsSearchForm" method="post" novalidate>
				 <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="inboundPlanObj.showgoodsAll()">全部</a>   
				商品编码:<input class="easyui-textbox" name="goods_no" style="width:150px;height:30px;"> 
				商品名称:<input class="easyui-textbox" name="goods_name" style="width:150px;height:30px;"> 
				料号:<input class="easyui-textbox" name="source_no" style="width:150px;height:30px;">
				<a href="#" class="easyui-linkbutton goodssearchBar" iconCls="icon-search" style="height:30px;">搜索</a>
				<a href="#" class="easyui-linkbutton addsbar" onclick="inboundPlanObj.addsbar()" style="height:30px;">添加</a>
			</form>
		</div>
    </div>
    <!-- /商品列表 -->
    <!-- 搜索栏 -->
    <div id="inboundPlan_tb">
        <form id="inboundPlanSearchForm" method="post" novalidate>
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="inboundPlanObj.showAll()">全部</a>     
			入库单编号:<input class="easyui-textbox" name="order_no" style="width:150px;height:30px;">
			<a href="#" class="easyui-linkbutton searchBar" iconCls="icon-search" style="height:30px;">搜索</a>
        </form>
		<a href="javascript:void(0)" onclick="inboundPlanObj.infoBar()" class="easyui-linkbutton" data-options="iconCls:'icon-information',plain:true">详情</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.moreBar()" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">多到货</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.tallyBar(4)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
        <a href="javascript:void(0)" onclick="inboundPlanObj.examineBar(1)" class="easyui-linkbutton" data-options="iconCls:'icon-key',plain:true">审核通过</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.examineBar(2)" class="easyui-linkbutton" data-options="iconCls:'icon-key_delete',plain:true">审核不通过</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.planBar()" class="easyui-linkbutton" data-options="iconCls:'icon-table_multiple',plain:true">监盘计划</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.tallyBar(1)" class="easyui-linkbutton" data-options="iconCls:'icon-table',plain:true">理货报告(无数据)</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.tallyBar(2)" class="easyui-linkbutton" data-options="iconCls:'icon-table_gear',plain:true">理货报告(计划数据)</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.tallyBar(3)" class="easyui-linkbutton" data-options="iconCls:'icon-table_lightning',plain:true">理货报告</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.excelBar()" class="easyui-linkbutton" data-options="iconCls:'icon-page_excel',plain:true">导出理货报告</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.inboundBar()" class="easyui-linkbutton" data-options="iconCls:'icon-door_in',plain:true">入库</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.pushBar()" class="easyui-linkbutton" data-options="iconCls:'icon-world_go',plain:true">入库申报</a>
		<a href="javascript:void(0)" onclick="inboundPlanObj.pushreceiveamountBar()" class="easyui-linkbutton" data-options="iconCls:'icon-world_go',plain:true">实收申报</a>
    </div>
    <!-- /搜索栏 -->
</body>